package com.jrx.anytxn.transaction.service;

import com.jrx.anytxn.transaction.dto.transactionLog.TlPaymentMappingRes;

import java.util.List;

/**
 * 还款流水与订单关联表service
 *
 * @author yf
 * date 2020/7/28 0028
 * @version V1.0
 **/
public interface IPaymentMappingService {

    /**
     * 根据以下条件查询还款流水与订单关联表信息
     * @author fan.yang
     * date: 2020/7/28 0028 下午 16:31
     * @param tenantId 租户ID
     * @param customerId 客户ID
     * @param seqNo 流水号
     * @return com.jrx.anytxn.transaction.dto.transactionLog.TlPaymentMappingRes
     */
    List<TlPaymentMappingRes> getPaymentMappingBySeqNoAndCusId(String tenantId, String customerId, String seqNo);

    /**
     * 根据以下条件查询还款流水与订单关联表信息
     *
     * @param tenantId 租户ID
     * @param customerId 客户ID
     * @param loanId 贷款订单id
     * @return TlPaymentMappingRes
     */
    List<TlPaymentMappingRes> getPaymentMappingByCusIdAndLoanId(String tenantId, String customerId, String loanId);
}